package dpatterns.decorator.starbuzz.condiments.impl.flavors;

import dpatterns.decorator.starbuzz.coffee.Coffee;
import dpatterns.decorator.starbuzz.condiments.CondimentDecorator;

public class Peppermint extends CondimentDecorator {
	
	public Peppermint(Coffee newCoffee) {
		super(newCoffee);
		System.out.println("Adding Peppermint Flavor.");
	}

	@Override
	public String getDescription() {
		return tempCoffee.getDescription()+", Peppermint";
	}

	@Override
	public double getCost() {
		return tempCoffee.getCost()+.50;
	}
}
